﻿using IntelligentAgriculture.Contracts.Dto.Input;
using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface
{
    public interface IVendorModelService
    {
        /// <summary>
        /// 供应商列表
        /// </summary>
        /// <param name="input">参数</param>
        /// <returns></returns>
        Task<PageOutput<Vendormodel>> GetVendormodel(VendorModelInPut input);
		/// <summary>
		/// 供应商删除
		/// </summary>
		/// <param name="idList">删除id</param>
		/// <returns></returns>
		Task<int> DeleteVendormodels(params int[] idList);
		/// <summary>
		/// 供应商添加
		/// </summary>
		/// <param name="entity">实体</param>
		/// <returns></returns>
		Task<int> AddVendormodels(Vendormodel entity);
		/// <summary>
		/// 反填供应商
		/// </summary>
		/// <param name="vendorSnowId">主键</param>
		/// <returns></returns>
		Task<Vendormodel> DetailVendormodel(int vendorSnowId);
		/// <summary>
		/// 供应商修改
		/// </summary>
		/// <param name="entity"></param>
		/// <returns></returns>
		Task<int> UpdateVendormodels(Vendormodel entity);
	}
}
